import service from '@/utils/request'

// @Tags ProductStylesModifyNote
// @Summary 创建款式资讯-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesModifyNote true "创建款式资讯-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /productStylesModifyNote/createProductStylesModifyNote [post]
export const createProductStylesModifyNote = (data) => {
  return service({
    url: '/productStylesModifyNote/createProductStylesModifyNote',
    method: 'post',
    data
  })
}

// @Tags ProductStylesModifyNote
// @Summary 删除款式资讯-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesModifyNote true "删除款式资讯-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesModifyNote/deleteProductStylesModifyNote [delete]
export const deleteProductStylesModifyNote = (params) => {
  return service({
    url: '/productStylesModifyNote/deleteProductStylesModifyNote',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesModifyNote
// @Summary 批量删除款式资讯-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除款式资讯-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesModifyNote/deleteProductStylesModifyNote [delete]
export const deleteProductStylesModifyNoteByIds = (params) => {
  return service({
    url: '/productStylesModifyNote/deleteProductStylesModifyNoteByIds',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesModifyNote
// @Summary 更新款式资讯-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesModifyNote true "更新款式资讯-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /productStylesModifyNote/updateProductStylesModifyNote [put]
export const updateProductStylesModifyNote = (data) => {
  return service({
    url: '/productStylesModifyNote/updateProductStylesModifyNote',
    method: 'put',
    data
  })
}

// @Tags ProductStylesModifyNote
// @Summary 用id查询款式资讯-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.ProductStylesModifyNote true "用id查询款式资讯-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /productStylesModifyNote/findProductStylesModifyNote [get]
export const findProductStylesModifyNote = (params) => {
  return service({
    url: '/productStylesModifyNote/findProductStylesModifyNote',
    method: 'get',
    params
  })
}

// @Tags ProductStylesModifyNote
// @Summary 分页获取款式资讯-历史修改备注列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取款式资讯-历史修改备注列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /productStylesModifyNote/getProductStylesModifyNoteList [get]
export const getProductStylesModifyNoteList = (params) => {
  return service({
    url: '/productStylesModifyNote/getProductStylesModifyNoteList',
    method: 'get',
    params
  })
}
